package com.stenio.fancat.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 品牌表实体类
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("fc_brand")
public class Brand extends BaseEntity {

	/** 序列化ID */
	private static final long serialVersionUID = -1207724243748919165L;
	/** 自增主键 */
	@TableId(value = "brand_id", type = IdType.AUTO)
	private Integer brandId;
	/** 品牌名称 */
	@TableField("brand_name")
	private String brandName;
	@TableField(exist = false)
	private Integer brandCandy;
	@TableField(exist = false)
	private Integer activityCount;

	public static final String BRAND_ID = "brand_id";
	public static final String BRAND_NAME = "brand_name";

}
